CleverReach\WooCommerce\Plugin A

Total Complexity 69
Dependencies 19
Dependents 0
Total lines 518
Lines of code 287
Logical lines of code 156
Comment lines 164
Methods 34
Properties 6

Methods 34

Method Rating Maintainability Complexity Lines of code
activate()
A
48 7 37
initialize()
S
56 4 18
update_plugin_on_single_site()
S
61 4 12
uninstall_handler()
S
58 3 16
update_plugin_if_version_changed()
S
63 3 12
initialize_new_site()
S
62 3 12
uninstall()
S
63 3 11
load_clever_reach_admin_menu()
S
72 3 5
load_plugin_init_hooks()
S
58 2 14
init_config()
S
62 2 11
should_show_notification()
S
79 2 3
is_cleverreach_page()
S
77 2 3
load_clever_reach_newsletter_field()
S
65 2 9
instance()
S
69 2 7
end_session()
S
74 2 5
get_proxy()
S
71 2 6
get_config_service()
S
71 2 6
start_session()
S
73 2 5
is_plugin_version_changed()
S
65 2 9
run_migrations()
S
65 2 9
plugin_trigger_check()
S
69 2 7
show_message()
S
62 1 12
create_admin_menu()
S
64 1 11
switch_to_site_and_uninstall_plugin()
S
74 1 5
__construct()
S
73 1 5
init_database()
S
76 1 4
plugin_already_initialized()
S
76 1 4
update_option_for_plugin_update_check()
S
80 1 3
uninstall_plugin_from_deleted_site()
S
81 1 3
load_plugin_text_domain()
S
68 1 8
register_checkout_form_newsletter()
S
79 1 3
register_form_field_newsletter()
S
79 1 3
plugin_add_trigger()
S
77 1 4
uninstall_plugin_from_site()
S
74 1 5